package com.yunqiao.service.api;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunqiao.common.utils.PageUtils;
import com.yunqiao.service.api.entity.EvaluateEntity;
import com.yunqiao.service.api.vo.EvaluateVo;

import java.util.Map;

/**
 * 文章表
 *
 * @author Crocutax
 * @email wangxw725@163.com
 * @date 2019-03-02 15:03:56
 */
public interface EvaluateService extends IService<EvaluateEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void addEvaluate(EvaluateEntity evaluate);

    Double getScore(Integer targetUserId);

    EvaluateEntity getEvaluate(Long orderId, Long targetUserId);

    void deleteState(Long id);

    EvaluateVo details(Integer id);
}

